home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1992-03-06 | 1.4 KB | 69 lines |
- '=================
- Rem example11.Amos
- '=================
-
- '** To break out of this program hold down CTRL and press C **
-
-
- Rem A little slideshow to demonstrate UNPACK
-
-
- Rem Hide mouse pointer, Set tracker mod to loop continously,play the music.
- Rem the music is already loaded into bank 5 and is contained in this program
- Rem so there is no need to load it.
- '--------------------------------------------------------------------------
- Hide : Track Loop On : Track Play 5
-
-
- Rem set a label (or marker) called BEGIN so GOTO knows where to jump to
- '-----------------------------------------------------------------------
- BEGIN:
-
-
- Rem UNPACK the picture stored in bank 12 to screen 0
- '----------------------------------------------------
- Unpack 12 To 0
-
-
- Rem wait 8 seconds
- '-----------------
- Wait 400
-
-
- Rem fade out the screen to black
- '-------------------------------
- Fade 5
-
-
- Rem wait fade*15
- '---------------
- Wait 25
-
-
- Rem unpack bank 11 to screen 0
- '-----------------------------
- Unpack 11 To 0
-
-
- Rem the same again please
- '------------------------
- Wait 400
- Fade 1
- Wait 15
-
-
- Rem unpack bank 10 to screen 0
- '-----------------------------
- Unpack 10 To 0
-
-
- Rem ----------
- Wait 400
- Fade 10
- Wait 150
-
-
- Rem there are no more pictures so GOTO the label marked BEGIN
- Rem which will restart the display again, this program will go onfor ever.
- '------------------------------------------------------------------------
- Goto BEGIN